import request from '@/utils/request_app'
import requestShop from '@/utils/request_shop'
//下单
// export const getPaymentInfo = data => {
//   return request({
//     url: 'app/sys/payment/orderInfo',
//     method: 'post',
//     data: data,
//   })
// }



export function getPaymentInfo(data) {
  return requestShop.post("/mpapi/api/payment/getPaymentInfo", data);
}

//支付
export const paymentCallback = data => {
  return request({
    url: 'app/sys/payment/success/callback',
    method: 'post',
    data: data,
  })
}
